package xdu.lz.stage3_classloader.chapter4;

public class SimpleClassLoaderTest {

    public static void main(String[] args) throws Exception {
        SimpleClassLoader simpleClassLoader = new SimpleClassLoader("SimpleClassLoader");
        simpleClassLoader.setDir("F:\\IDEA\\IDEA\\workspace\\multi-threaded-concurrency\\myclassloader4");
        Class<?> clazz = simpleClassLoader.loadClass("xdu.lz.stage3_classloader.chapter4.SimpleObject");
        System.out.println(clazz.getClassLoader());
    }
}
